package com.common.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("问题VO")
public class ProblemVo implements Serializable {

    @ApiModelProperty("id")
    private Long id;


    @ApiModelProperty("问题名称")
    private String problemTitle;


    @ApiModelProperty("问题描述")
    private String problemDescribe;


    @ApiModelProperty("问题类型0-旧衣物 1-其他")
    private Boolean problemType;

    @ApiModelProperty("有无附件0-无 1-有")
    private int problemIsFile;

    @ApiModelProperty("附件ID")
    private Long fileId;

    @ApiModelProperty("创建人")
    private String created;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdDate;

    @ApiModelProperty("更新人")
    @TableField(value="`update`")
    private String update;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateDate;

    private static final long serialVersionUID = 1L;
}